<div id="content" class="photos">
    <h1><?=$data->TITLE?></h1>    
    <div class="links nav">
        <a class="box" href="<?=$data->album->account->url?>" title="<?=$data->album->account->fullname?>"><?=_('Back to profile')?></a>
        <div class="clear"></div>
    </div>
    <? if($data->album->photos): foreach ($data->album->photos as $i): ?>
    <div class="thumbnail">
        <a href="/profile/photo/<?=$i->ID?>" title="<?=$i->caption?>">
            <img src="http://<?=COOKIELESS.'/'.$i->src?>" alt="<?=$i->caption?>" />
        </a>
    </div>
    <? endforeach; else: ?>
    <?=_('Any photos have uploaded yet!')?>
    <? endif; ?>
    <div class="clear"></div>
</div>
<div id="aside"></div>